use "$Data_origin/Commune.dta", clear

*** Generate treatment variable  ***
gen post1926=1 if year>1926
replace post1926=0 if year<1927
label variable post1926 "Treatment Period Dummy" 
*** Transform variable ***
gen asin_pop=asinh(pop1926)
gen asin_cath=asinh(cath)
gen asin_rep=asinh(rep)
save "$Data_generated/Commune.dta", replace

